﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CarDriver
/// </summary>
namespace CE.CarInsurance
{
    public class CarDriver
    {
        public CarDriver()
        {
            ClearFields();
        }

        private Int16 _stepid;
        private Int64 _cardriverid;
        private Int64 _cecarid;
        private string _salutation;
        private string _surname;
        private string _givenname;
        private DateTime _dob;
        private char _gender;
        private string _maritalstatus;
        private string _occupation;
        private string _jobnature;
        private string _idtype;
        private string _idno;
        private byte _yearofdrivinginsg;
        private string _drivinglicensenumber;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        //common field name
        private string _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;     //Date driving licence obtained:
        private string _info12;     //Relationship to Proposer
        private string _info13;     //revoked/endorsed driving licence status
        private string _info14;     //Year
        private string _info15;     //Reasson
        private string _info16;     //claims experiences status
        private string _info17;     //Date of asccident
        private string _info18;     //Nature of accident
        private string _info19;     //Claim amount
        private string _info20;     //type of claim

        public Int16 StepId
        {
            get { return _stepid; }
            set { _stepid = value; }
        }

        public Int64 CarDriverId
        {
            get { return _cardriverid; }
            set { _cardriverid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public string Salutation
        {
            get { return _salutation; }
            set { _salutation = value; }
        }

        public string Surname
        {
            get { return _surname; }
            set { _surname = value; }
        }

        public string GivenName
        {
            get { return _givenname; }
            set { _givenname = value; }
        }

        public DateTime DOB
        {
            get { return _dob; }
            set { _dob = value; }
        }

        public char Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public string MaritalStatus
        {
            get { return _maritalstatus; }
            set { _maritalstatus = value; }
        }

        public string Occupation
        {
            get { return _occupation; }
            set { _occupation = value; }
        }

        public string JobNature
        {
            get { return _jobnature; }
            set { _jobnature = value; }
        }

        public string IDType
        {
            get { return _idtype; }
            set { _idtype = value; }
        }

        public string IDNo
        {
            get { return _idno; }
            set { _idno = value; }
        }

        public byte YearOfDrivingInSg
        {
            get { return _yearofdrivinginsg; }
            set { _yearofdrivinginsg = value; }
        }

        public string DrivingLicenseNumber
        {
            get { return _drivinglicensenumber; }
            set { _drivinglicensenumber = value; }
        }

        public Int64 RerCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }
        
        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public void ClearFields()
        {
            _stepid = 0;
            _cardriverid = 0;
            _cecarid = 0;
            _salutation = "";
            _surname = "";
            _givenname = "";
            _dob = new DateTime();
            _gender = 'M';
            _maritalstatus = "";
            _occupation = "";
            _jobnature = "";
            _idtype = "";
            _idno = "";
            _yearofdrivinginsg = 0;
            _drivinglicensenumber = "";
            _refceuserid = 0;
            _vieweddetailid = 0;
            //common field name
            _status = "";
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
        }

    }
}